package Entity;

/**
 * 罚金账单
 * @Author Chen
 * @Date 2022/1/6 11:40
 * @Version 1.0
 */
public class PenaltyBill {
    private int readersNumber;
    private int bookNumber;
    private double fine;

    public PenaltyBill() {
        super();
    }

    public PenaltyBill(int readersNumber, int bookNumber, double fine) {
        this.readersNumber = readersNumber;
        this.bookNumber = bookNumber;
        this.fine = fine;
    }

    public int getReadersNumber() {
        return readersNumber;
    }

    public void setReadersNumber(int readersNumber) {
        this.readersNumber = readersNumber;
    }

    public int getBookNumber() {
        return bookNumber;
    }

    public void setBookNumber(int bookNumber) {
        this.bookNumber = bookNumber;
    }

    public double getFine() {
        return fine;
    }

    public void setFine(double fine) {
        this.fine = fine;
    }

    @Override
    public String toString() {
        return readersNumber +"  "+ bookNumber +"  "+ fine;
    }
}
